package com.ctshk.rpc.localfun.dto.es;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/6/2
 */
@Data
@ApiModel("符合条件的产品")
public class LocalFunCandidateProductDto implements Serializable {

    @ApiModelProperty("产品ID")
    private Long productId;

    @ApiModelProperty(value = "产品编号")
    private String productCode;

    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty("渠道ID")
    private Long channelId;

    @ApiModelProperty(value = "所属城市id")
    private Long cityId;

    @ApiModelProperty(value = "城市名称")
    private String cityName;

    @ApiModelProperty(value = "游玩类型名称")
    private Long funType;

    @ApiModelProperty(value = "游玩类型名称")
    private String funName;

    @ApiModelProperty(value = "封面图url")
    private String coverImage;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "规格1id")
    private Long attrId1;

    @ApiModelProperty(value = "规格2id")
    private Long attrId2;

    @ApiModelProperty("规格名称1")
    private String attr1Name;

    @ApiModelProperty("规格名称2")
    private String attr2Name;

    @ApiModelProperty(value = "产品创建时间")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "产品图片JSON")
    private String photosJson;

    @ApiModelProperty(value = "门票Json")
    private String themeJson;

    @ApiModelProperty(value = "产品介绍")
    private String productIntroduces;

    @ApiModelProperty(value = "是否推荐(0 否 ,1 是)")
    private Integer isRecommend;

    @ApiModelProperty(value = "产品特性Json")
    private String futureJson;

    @ApiModelProperty("权限范围类型（1：自营禁售 2 所有部门 3指定部门/人员）")
    private Integer visableType;

    @ApiModelProperty("部门 2 ，人员1")
    private Integer checkType;

    @ApiModelProperty("关联ID，用户ID或部门ID")
    private Long relationId;

    @ApiModelProperty("數值類型： 1 金額，2百分比")
    private Integer adjustType;

    @ApiModelProperty("预订服务费类型 1金额 2百分比")
    private Integer reserveChargeType;

    @ApiModelProperty("预订服务费")
    private BigDecimal reserveCharge;

    @ApiModelProperty("加幅費")
    private BigDecimal amount;

    @ApiModelProperty("成本價*匯率+加幅費")
    private BigDecimal costAndFee;

    @ApiModelProperty("百分比")
    private Double percent;

    @ApiModelProperty("是否限制售額：1 限購 0 不限購")
    private Integer isLimit;

    @ApiModelProperty("限購數量")
    private Integer limitNum;

    @ApiModelProperty("成本價")
    private BigDecimal costPrice;

    @ApiModelProperty("餘票")
    private Integer solidStock;

    @ApiModelProperty("线下渠道类型（1：自营渠道 2：代理商）")
    private Integer channelType;

    @ApiModelProperty("匯率")
    private BigDecimal exchangeRate;

    @ApiModelProperty(value = "取消政策(1 限时取消  2 不退不改)")
    private Integer cancelPolicy;

    @ApiModelProperty(value = "预订退改须知")
    private String customerNotice;

    @ApiModelProperty(value = "使用说明")
    private String useInstructions;
}
